<template>
  <div class="dog">
    <img
      src= "https://pic1.zhimg.com/80/v2-7ba4342e6fedb9c5f3726eb0888867da_1440w.jpg?source=1940ef5c"
      alt=""
    />
    <p>这是一只傻狗</p>
  </div>
</template>

<script>
export default {}
</script>

<style>
.dog {
  width: 300px;
  border: 1px solid black;
  text-align: center;
  float: left;
}
.dog img{
  width: 100%;
  height: 200px;
}
</style>
